package com.qf.web_last.Service;

import com.qf.web_last.Entirty.User;
import com.qf.web_last.Entirty.UserDTO;

import java.util.List;

public interface UserService {
    User login(UserDTO userDTO);



    int getUserByUsername(String username);

    boolean register(UserDTO userDTO);

    List<User> getStudents();

    boolean addStudent(User user);

    boolean deleteStudent(User user);

    List<User> searchStudent(User user);

    boolean updateStudent(User user);

    int getStuNumber(Integer sex);
}
